package com.bj58.di.factory;

import javax.inject.Inject;

import com.bj58.di.entity.Book;
import com.bj58.di.service.IBookService;
import com.google.inject.Singleton;

@Singleton
public class BookFactory4 {

	@Inject
	private IBookService bookService;
	

	public Book getBook(){
		return bookService.getBook();
	}

}
